package com.ty.dao;

import com.ty.entity.Account;
import com.ty.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {
    User login(String tel, String password);
    User check(String tel);

    int insert(User user);

}
